fo=open("456.txt","r")
print("文件名: " ,fo.name)
for index in range(5):
    line = next(fo)
    print("第 %d 行 - %s" % (index, line))
    
fo.close()